package control;

import java.util.Vector;

import model.*;

public class RoomControl  {
	Hotel hotel = new Hotel();

	public RoomControl() {
		hotel.connect();
	}

	// /room-----------------
	public ListCategory gettyperoom() {

		return hotel.getListCategory();
	}

	public Vector findby_Category(String category_id) {
		return hotel.findby_Category(category_id);
	}
//	public Vector findby_id(String category_id) {
//		return hotel.findby_Category(category_id);
//	}

	// --------------------
	public void add_reservation(Reservation re) {
		hotel.make_reservation(re);
	}

}
